package com.quick.develop.flowable.service.task;

import java.util.Set;

/**
 * @author junyuan.liu
 * @description:
 * @date 2023/6/19 14:56
 */
public interface IBpmVariableService {
    /**
     * @param procInstId procInstId
     * @param names      names
     * @return java.lang.Integer
     * @description
     * @author junyuan.liu
     * @date 2023/6/20 16:06
     */
    Integer getVarCount(String procInstId, Set<String> names);

    /**
     * @param procInstId 流程实例ID
     * @param names      names
     * @description 清理无用的历史流程参数数据
     * @author junyuan.liu
     * @date 2023/6/19 14:59
     */
    void deleteHisVar(String procInstId, Set<String> names);

    /**
     * @param procInstId procInstId
     * @param names      需要保留的
     * @description
     * @author junyuan.liu
     * @date 2023/9/5 17:35
     */
    void deleteHisNotNeedVar(String procInstId, Set<String> names);
}
